<div class="common_form">
    <table cellpadding="0" >
        <tbody>
        <tr>
            <td>模板</td>
            <td>
                <select name="type" id="type"  style="float: none;vertical-align: middle;">
                    <option value="1" <?php echo $moban==1?'selected':''?>>模板一</option>
                    <option value="2" <?php echo $moban==2?'selected':''?>>模板二</option>
                </select>&nbsp;&nbsp;
            </td>
        </tr>
        <tr>
            <td>导语</td>
            <td><textarea class="text" style="width:800px;height:70px;" name="takeaway"></textarea></td>
        </tr>
        <?php if ($moban == 1):?>
            <tr>
                <td>图片1</td>
                <td>
                    <input class="text uploadifys1" style="width:250px;" name="mOne_pic1" id="mOne_pic1" type="text">
                    <?php  $this->widget('ext.uploadify',array("ext"=>'*.gif;*.jpg;*.png;*.jpeg;*.JPG;*.GIF;*.PNG;','style'=>3,'mode'=>1,'max_num'=>0,'max_size'=>"0",'multi'=>'1','auto'=>'true','thumbImg'=>'无水印|0,文字1|1.png,图片1|2.png','thumb'=>'100X129,121X90','cname'=>"uploadifys1",'model'=>'shouyou'));?>
                </td>
            </tr>
            <tr>
                <td>评分机构1</td>
                <td><input class="text" style="width:150px;" name="mOne_jg1" type="text"><span style="float: left">评分</span><input class="text" style="width:150px;" name="mOne_pf1" type="text"></td>
            </tr>
            <tr>
                <td>评价1</td>
                <td><textarea class="text" style="width:800px;height:70px;" name="mOne_pj1"></textarea></td>
            </tr>
            <tr>
                <td>评分机构2</td>
                <td><input class="text" style="width:150px;" name="mOne_jg2" type="text"><span style="float: left">评分</span><input class="text" style="width:150px;" name="mOne_pf2" type="text"></td>
            </tr>
            <tr>
                <td>评价2</td>
                <td><textarea class="text" style="width:800px;height:70px;" name="mOne_pj2"></textarea></td>
            </tr>
            <tr>
                <td>评分机构3</td>
                <td><input class="text" style="width:150px;" name="mOne_jg3" type="text"><span style="float: left">评分</span><input class="text" style="width:150px;" name="mOne_pf3" type="text"></td>
            </tr>
            <tr>
                <td>评价3</td>
                <td><textarea class="text" style="width:800px;height:70px;" name="mOne_pj3"></textarea></td>
            </tr>
            <tr>
                <td>评分机构4</td>
                <td><input class="text" style="width:150px;" name="mOne_jg4" type="text"><span style="float: left">评分</span><input class="text" style="width:150px;" name="mOne_pf4" type="text"></td>
            </tr>
            <tr>
                <td>评价4</td>
                <td><textarea class="text" style="width:800px;height:70px;" name="mOne_pj4"></textarea></td>
            </tr>
            <tr>
                <td>评分机构5</td>
                <td><input class="text" style="width:150px;" name="mOne_jg5" type="text"><span style="float: left">评分</span><input class="text" style="width:150px;" name="mOne_pf5" type="text"></td>
            </tr>
            <tr>
                <td>评价5</td>
                <td><textarea class="text" style="width:800px;height:70px;" name="mOne_pj5"></textarea></td>
            </tr>
            <tr>
                <td>图片2</td>
                <td>
                    <input class="text uploadifys2" style="width:250px;" name="mOne_pic2" id="mOne_pic2" type="text">
                    <?php  $this->widget('ext.uploadify',array("ext"=>'*.gif;*.jpg;*.png;*.jpeg;*.JPG;*.GIF;*.PNG;','style'=>3,'mode'=>1,'max_num'=>0,'max_size'=>"0",'multi'=>'1','auto'=>'true','thumbImg'=>'无水印|0,文字1|1.png,图片1|2.png','thumb'=>'100X129,121X90','cname'=>"uploadifys2",'model'=>'shouyou'));?>
                </td>
            </tr>
        <?php elseif ($moban == 2):?>
            <tr>
                <td>图片1</td>
                <td>
                    <input class="text uploadifys1" style="width:250px;" name="mTwo_pic1" id="mTwo_pic1" type="text">
                    <?php  $this->widget('ext.uploadify',array("ext"=>'*.gif;*.jpg;*.png;*.jpeg;*.JPG;*.GIF;*.PNG;','style'=>3,'mode'=>1,'max_num'=>0,'max_size'=>"0",'multi'=>'1','auto'=>'true','thumbImg'=>'无水印|0,文字1|1.png,图片1|2.png','thumb'=>'100X129,121X90','cname'=>"uploadifys1",'model'=>'shouyou'));?>
                </td>
            </tr>
            <tr>
                <td>图片说明</td>
                <td><input class="text" style="width:450px;" name="mTwo_picInfo" type="text"></td>
            </tr>
            <tr>
                <td>游戏优点</td>
                <td><textarea class="text" style="width:800px;height:70px;" name="mTwo_gameAdvantage"></textarea></td>
            </tr>
            <tr>
                <td>图片2</td>
                <td>
                    <input class="text uploadifys2" style="width:250px;" name="mTwo_pic2" id="mTwo_pic2" type="text">
                    <?php  $this->widget('ext.uploadify',array("ext"=>'*.gif;*.jpg;*.png;*.jpeg;*.JPG;*.GIF;*.PNG;','style'=>3,'mode'=>1,'max_num'=>0,'max_size'=>"0",'multi'=>'1','auto'=>'true','thumbImg'=>'无水印|0,文字1|1.png,图片1|2.png','thumb'=>'100X129,121X90','cname'=>"uploadifys2",'model'=>'shouyou'));?>
                </td>
            </tr>
            <tr>
                <td>游戏缺点</td>
                <td><textarea class="text" style="width:800px;height:70px;" name="mTwo_gameDisAdvantage"></textarea></td>
            </tr>
            <tr>
                <td>评分机构1</td>
                <td><input class="text" style="width:150px;" name="mTwo_jg1" type="text"><span style="float: left">评分</span><input class="text" style="width:150px;" name="mTwo_pf1" type="text"></td>
            </tr>
            <tr>
                <td>评分机构2</td>
                <td><input class="text" style="width:150px;" name="mTwo_jg2" type="text"><span style="float: left">评分</span><input class="text" style="width:150px;" name="mTwo_pf2" type="text"></td>
            </tr>
            <tr>
                <td>评分机构3</td>
                <td><input class="text" style="width:150px;" name="mTwo_jg3" type="text"><span style="float: left">评分</span><input class="text" style="width:150px;" name="mTwo_pf3" type="text"></td>
            </tr>
            <tr>
                <td>评分机构4</td>
                <td><input class="text" style="width:150px;" name="mTwo_jg4" type="text"><span style="float: left">评分</span><input class="text" style="width:150px;" name="mTwo_pf4" type="text"></td>
            </tr>
            <tr>
                <td>评分机构5</td>
                <td><input class="text" style="width:150px;" name="mTwo_jg5" type="text"><span style="float: left">评分</span><input class="text" style="width:150px;" name="mTwo_pf5" type="text"></td>
            </tr>
            <tr>
                <td>总体评价</td>
                <td><textarea class="text" style="width:800px;height:70px;" name="mTwo_allpj"></textarea></td>
            </tr>
            <tr>
                <td>图片3</td>
                <td>
                    <input class="text uploadifys3" style="width:250px;" name="mTwo_pic3" id="mTwo_pic3" type="text">
                    <?php  $this->widget('ext.uploadify',array("ext"=>'*.gif;*.jpg;*.png;*.jpeg;*.JPG;*.GIF;*.PNG;','style'=>3,'mode'=>1,'max_num'=>0,'max_size'=>"0",'multi'=>'1','auto'=>'true','thumbImg'=>'无水印|0,文字1|1.png,图片1|2.png','thumb'=>'100X129,121X90','cname'=>"uploadifys3",'model'=>'shouyou'));?>
                </td>
            </tr>
        <?php endif;?>
        </tbody>
    </table>
</div>
<script>
    $("#type").change(function(){
        location.href="/admin/ubutton/ubutton/review?moban="+$(this).val();
    });
</script>